
<form role="form" class="epii" method="post" data-form="1" action="{url profit_share add_edit }">

    <div class="form-group">
        <label><span style="color: red">*</span>账户名称：</label>
        <input type="text" class="form-control" name="r[name]" value="{? $info.name}" required
               placeholder="请输入账户名称">
    </div>
    <div class="form-group">
        <label><span style="color: red">*</span>账号：</label>
        <input type="text" class="form-control" name="r[account]" value="{? $info.account}" required
               placeholder="请输入账号">
    </div>
<!--    <div class="form-group">-->
<!--        <label><span style="color: red">*</span>分账比例：</label>-->
<!--        <input type="number" class="form-control" name="r[amount]" value="{? $info.amount}" required-->
<!--               placeholder="请输入分账比例">-->
<!--    </div>-->
    <div class="form-group">
        <label>状态：</label>
        <select class="selectpicker" name="r[status]" id="">
            {:options,$status,$info.status?1}
        </select>
    </div>
    <div class="form-group">
        <label>简介：</label>
        <textarea name="r[description]" id="" cols="30" rows="3" class="form-control">{? $info.description}</textarea>
    </div>
    <input type="hidden" name="id" value="{$id?0}">
    <div class="form-footer">
        <button type="submit" class="btn btn-primary">提交</button>
    </div>
</form>
